/* 业务员进车管理专用样式 */
:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --light-bg: #f8f9fa;
}

/* 顶部导航 */
.dashboard-header {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: white;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 卡片样式 */
.card {
    border-radius: 10px;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 10px 10px 0 0 !important;
}

/* 状态标签 */
.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
}

.status-pending {
    background-color: rgba(243, 156, 18, 0.15);
    color: var(--warning-color);
}

.status-approved {
    background-color: rgba(39, 174, 96, 0.15);
    color: var(--success-color);
}

/* 操作按钮 */
.action-btn {
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

/* 车辆图片 */
.vehicle-img {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    background-color: #f0f2f5;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* 统计卡片 */
.summary-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.summary-card:hover {
    transform: translateY(-5px);
}

.summary-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.summary-card .number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.summary-card .title {
    color: #6c757d;
    font-size: 0.95rem;
}

/* 搜索栏 */
.search-bar {
    background: white;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.search-bar input {
    border: none;
    outline: none;
    flex: 1;
    background: transparent;
}

/* 订单项 */
.order-item {
    transition: background-color 0.2s;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.order-item:last-child {
    border-bottom: none;
}

.order-item:hover {
    background-color: rgba(52, 152, 219, 0.03);
}

/* 动画效果 */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 详情页面样式 */
.detail-item {
    margin-bottom: 1rem;
    display: flex;
}

.detail-label {
    width: 120px;
    font-weight: 500;
    color: #495057;
}

.detail-value {
    flex: 1;
    color: #212529;
}

.vehicle-details img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.spec-item {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    padding-top: 1rem;
}

/* 表单页面样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.vehicle-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    border: 1px dashed #dee2e6;
}

.vehicle-preview img {
    max-height: 180px;
    max-width: 100%;
}